import { createApp } from 'vue'
import App from './App.vue'

//1.导入router/index.js[只有index名称的文件才简写]
import router from './router'

//导入elementplus
import ElementPlus from 'element-plus';

//导入element的样式（保证应用UI组件的时候具备效果）
import 'element-plus/dist/index.css';

import $axios from './utils/request';

//定义特殊标志代码
window.__VUE_PROD_DEVTOOLS__ = false;
window.__VUE_PROD_HYDRATION_MISMATCH_DETAILS__= false;



//2.应用router
createApp(App).use(router).use(ElementPlus).provide('$axios',$axios).mount('#app')